package com.sddz.pacs.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 系统日志信息表
 * </p>
 *
 * @author 时代电子
 * @since 2018-09-18
 */
public class SysLog extends Model<SysLog> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 操作人ID
     */
    private String userId;

    /**
     * 操作人名称
     */
    private String userName;

    /**
     * 操作业务的名称
     */
    private String operation;

    /**
     * 对应方法名称
     */
    private String method;

    /**
     * 操作参数
     */
    private String params;

    /**
     * 操作来源IP地址
     */
    private String ip;

    /**
     * 操作时间
     */
    private Date createDate;

    /**
     * 备注
     */
    private String remark;

    /**
     * 类型
     */
    private String operateType;

    /**
     * 操作结果
     */
    private Double operateResult;

    /**
     * 状态  0.桥西区日志 1.桥东区日志
     */
    private String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }
    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }
    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }
    public Double getOperateResult() {
        return operateResult;
    }

    public void setOperateResult(Double operateResult) {
        this.operateResult = operateResult;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysLog{" +
        "id=" + id +
        ", userId=" + userId +
        ", userName=" + userName +
        ", operation=" + operation +
        ", method=" + method +
        ", params=" + params +
        ", ip=" + ip +
        ", createDate=" + createDate +
        ", remark=" + remark +
        ", operateType=" + operateType +
        ", operateResult=" + operateResult +
        ", state=" + state +
        "}";
    }
}
